const express=require('express');
var bodyParser=require('body-parser');
var conn=require('./conn.js');
const cors=require('cors');
const Mock=require('mockjs');
const app=express();
app.use(cors());
app.use(express.static('./public'));
app.use(bodyParser.urlencoded({extended:false}));

app.get('/topnavs',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|10':[
            {
                id:'@uuid',
                'icon|+1':[
                    '/upload/home/topnav1.png',
                    '/upload/home/topnav2.png',
                    '/upload/home/topnav3.png',
                    '/upload/home/topnav4.png',
                    '/upload/home/topnav5.png',
                    '/upload/home/topnav6.png',
                    '/upload/home/topnav7.png',
                    '/upload/home/topnav8.png',
                    '/upload/home/topnav9.png',
                    '/upload/home/topnav10.png',
                ],
                'text|+1':[
                    '超市便利',
                    '生鲜果蔬',
                    '烘焙蛋糕',
                    '鲜花绿植',
                    '医药健康',
                    '新人专享',
                    'VIP会员',
                    '领券',
                    '邀请有奖',
                    '签到'
                ],
                'tip|+1':[
                    '',
                    '',
                    '',
                    '',
                    '',
                    '',
                    '',
                    '',
                    '领红包',
                    '99减50'
                ]
            }
        ]
    }))
})

app.get('/appfooter',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|4':[
            {
                'id|+1':[
                    'homeTab',
                    'welfareTab',
                    'shopTab',
                    'formTab',
                ],
                'text|+1':[
                    '首页',
                    '发现',
                    '购物车',
                    '订单',
                ],
                'path|+1':[
                    '/',
                    '/welfare',
                    '/shop',
                    '/form',
                ]
            }
        ]
    }));
})

app.get('/top',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|6':[
            {
                id:'@uuid',
                'text|+1':[
                    '牛奶',
                    '酸奶',
                    '方便面',
                    '巧克力',
                    '高钙奶',
                    '牙膏'
                ]
            }
        ]
    }));
})

app.get('/buyimgarry',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|2':[
            {
                id:'@uuid',
                'arry|+1':[
                    '/upload/home/28e9b97633a428cd.png',
                    '/upload/home/8614f1f6629fd4c7.png',
                ],
            }
        ]
    }));
})

app.get('/offimgarry',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|4':[
            {
                id:'@uuid',
                'text1|+1':[
                    '思念水饺',
                    '益丰药房',
                    '满49减15',
                    '龙眼3.9'
                ],
                'text2|+1':[
                    '满49减18',
                    '满49减20',
                    '满49减15',
                    '满49减30'
                ],
                'arry|+1':[
                    '/upload/home/70ff8022efea4065.png',
                    '/upload/home/cda4d7560b7c7806.jpg',
                    '/upload/home/502900b49537f5b2.png',
                    '/upload/home/c7c4c260e1b0a097.png',
                ],
            }
        ]
    }));
})

app.get('/sbodyarry',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|10':[
            {
                'id':'@uuid',
                'text|+1':[
                    '沃尔玛-秦淮店',
                    '永辉超市-茂业天地店',
                    '沃尔玛-秦淮店',
                    '沃尔玛-秦淮店',
                    '沃尔玛-秦淮店',
                    '沃尔玛-秦淮店',
                    '永辉超市-茂业天地店',
                    '百果园-金沙井店',
                    '百果园-金沙井店',
                    '百果园-金沙井店',
                ],
                'newPrice|1-10.1':0,
                'oldPrice|1-10.1':0,
                'arry|+1':[
                    '/upload/home/5b8f771cN886f8d48.jpg',
                    '/upload/home/5b73b8b9Ne118dc31.jpg',
                    '/upload/home/5bf28d57Nedd3b837.jpg',
                    '/upload/home/5bf28e3fN353050f7.jpg',
                    '/upload/home/5bfcbee7N5548c5a0.png',
                    '/upload/home/5c009c8cN0906bef0.jpg',
                    '/upload/home/5c034d09N36b408bb.png',
                    '/upload/home/5c0487f6N9edde936.png',
                    '/upload/home/122b106693a12e78.jpg',
                    '/upload/home/241efd728fe013a1.jpg',
                ],
            }
        ]
    }));
})

app.get('/shop',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|6':[
            {
                'id|+1':0,
                'arry|+1':[
                    '/upload/home/4e708671b1c5c264.png',
                    '/upload/home/d2f7ac0720f03a02.png',
                    '/upload/home/7958f19d2daa6690.png',
                    '/upload/home/7796dab9bd4e4877.png',
                    '/upload/home/7af94cd6819e2011.png',
                    '/upload/home/9c228b530c8a8030.png',
                ],
                'shopNameTitle1|+1':[
                    '沃尔玛',
                    '元祖蛋糕',
                    '华润苏果',
                    '家乐福',
                    '永辉超市',
                    '鲜家'
                ],
                'shopNameTitle2|+1':[
                    '-秦淮店',
                    '（集庆门店）',
                    '-瞻园路店',
                    '-大行宫店',
                    '-茂业天地店',
                    '-新街口店(苏红菜场)'
                ],
                'starNum|1-5':0,
                'score|3-4.1':0,
                'sales|5-10':0,
                'time|30-50':0,
                'distance|1-10.1':0,
                'startSend|1':[0,15,20,10],
                'tickets|0-5':[
                    {
                        id:'@uuid',
                        'tic|+1':[
                            {
                                txt:'券',
                                tClass:'redTic hadtic',
                                tClass2:'hadTicketsTxt',
                                con1:'已领一张：满',
                                con2:'减',
                                con3:'元优惠券',
                                'reach|30-100':0,
                                'rid|10-30':0,
                            },
                            {
                                txt:'领券',
                                tClass:'redTic',
                                tClass2:'ticketsTxt',
                                'con1|1':[
                                    '满59减18,满39减15,满49减15,满49减12',
                                    '满248减20,满79减12,满89减12',
                                    '满79减12,满69减10,满59减8',
                                    '满50减35,满89减12,满49减8,满69减8',
                                    '满40减30,满89减15,满79减12,满79减10'
                                    ],
                                con2:'',
                                con3:'',
                                reach:'',
                                rid:'',
                            },
                            {
                                txt:'运费',
                                tClass:'blueTic',
                                tClass2:'ticketsTxt',
                                con1:'满',
                                con2:'元减4元运费',
                                con3:'',
                                'reach|30-50':0,
                                rid:'',
                            },
                            {
                                txt:'满减',
                                tClass:'greenTic',
                                tClass2:'ticketsTxt',
                                'con1|1':[
                                    '好时满30减5，满60减15',
                                    '善存钙尔奇满120减50，满220减100',
                                    '妙卡满99减50',
                                    '蒙牛低温满25减5，满50减10，满75减15',
                                    '好丽友满28减5'
                                ],
                                con2:'',
                                con3:'',
                                reach:'',
                                rid:'',
                            },
                            {
                                txt:'打包',
                                tClass:'yellowTic',
                                tClass2:'ticketsTxt',
                                'con1|1':[
                                    '金龙鱼东北大2件49.9元',
                                    '护舒宝3件20元'
                                ],
                                con2:'',
                                con3:'',
                                reach:'',
                                rid:'',
                            }
                        ],
                    }
                ],
                ticNum(){
                    return this.tickets.length;
                },
                'anotherShop|0-5':[
                    {
                        id:'@uuid',
                        'name|+1':[
                            '-应天广场店',
                            '-江东南路店',
                            '-张府园店',
                            '-仙鹤街店',
                            '-金沙井店'
                        ]
                    }
                ],
                shopLength(){
                    return this.anotherShop.length;
                }
            }
        ]
    }));
})

app.get('/three',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|3':[
            {
                id:'@uuid',
                'arr|+1':[
                    '/upload/home/hufub.jpg',
                    '/upload/home/leshi.jpg',
                    '/upload/home/pocky.jpg',
                ]
            }
        ]
    }));
})

app.get('/weltop',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|5':[
            {
                'id|+1':[
                    'attentionTab',
                    'recipeTab',
                    'recommendTab',
                    'fashionTab',
                    'lifeTab'
                ],
                'path|+1':[
                    '/welfare',
                    '/recipe',
                    '/recommend',
                    '/fashion',
                    '/life'
                ],
                'text|+1':[
                    '关注',
                    '食谱',
                    '推荐',
                    '时尚美妆',
                    '生活'
                ]
            }
        ]
    }));
})

app.get('/itemarry',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|6':[
            {
                id:'@uuid',
                'arry|+1':[
                    '/upload/welfare/bc28834123bfd480.png',
                    '/upload/welfare/59bd6890482cc9fa.png',
                    '/upload/welfare/6f89d12f31457524.png',
                    '/upload/welfare/1f8c6667c02e8d71.png',
                    '/upload/welfare/8180bd542f1a51af.png',
                    '/upload/welfare/73ce3cc92040a9e9.png',
                ],
                'name|+1':[
                    '蜜汀蛋糕-南京店',
                    '幸福西饼蛋糕-南京店',
                    '贝思客蛋糕-南京店',
                    '昨日蜜语蛋糕-南京店',
                    'winkcake蛋糕-南京店',
                    '奈斯烘焙蛋糕-南京店',
                    ],
                'time|+1':['1小时前','3小时前','6小时前','9小时前','23小时前','1天前'],
                'title|+1':[
                    'Hope all your Christmas dreams come true!愿你所有的圣诞梦想都成真',
                    '这个冬天不太冷，甜在心头！',
                    '相约暖冬，甜蜜蛋糕五折起，鲜芒九方低至59！',
                    '每一个清晨，记得告诉自己：没有奇迹，只有你努力的轨迹；没有运气，只有你坚持的勇气。每一份收获，都是你坚持不懈的努力；每一份汗水，都是你成功的累积。早安全世界',
                    '周三品牌日，下午茶特价秒杀！',
                    '人生最好的状态，是每天醒来，面朝阳光，嘴角上扬。不羡慕谁，不讨好谁，默默努力，活成自己想要的模样。早安！'
                ],
                'imgsArry|3-9':[
                    {
                        'pics|+1':[
                            '/upload/welfare/5bf52f1aNf5681022.jpg',
                            '/upload/welfare/5bf642d5Na09bb645.jpg',
                            '/upload/welfare/5bfb9e16N0e675d4a.jpg',
                            '/upload/welfare/5bf64799N2469cae7.jpg',
                            '/upload/welfare/5bff428dNc1490058.jpg',
                            '/upload/welfare/5bfba15cN39aa5e0d.jpg',
                            '/upload/welfare/5bf64fccN3a29db5d.jpg',
                            '/upload/welfare/5bf61d62Nb25e702a.jpg',
                            '/upload/welfare/5bf52149N780662e7.jpg',
                            '/upload/welfare/5bf622bdN3d313d83.jpg',
                            '/upload/welfare/78adc3b0892dfc7f.jpg',
                            '/upload/welfare/1dd33619f90e0ea0.jpg',
                            ],
                        'newPrice|50-300':0,
                        'oldPrice|300-600':0,
                        'ticket|1':[
                            {
                                tClass:'red',
                                tTxt1:'秒杀',
                                'discount|5-9.1':0,
                                tTxt2:'折',
                                rid:''
                            },
                            {
                                tClass:'green',
                                tTxt1:'满',
                                'discount|50-100':0,
                                tTxt2:'减',
                                'rid|10-30':0
                            },
                            {
                                tClass:'orange',
                                tTxt1:'直降',
                                'discount|5-9.1':0,
                                tTxt2:'折',
                                rid:''
                            },
                        ],
                        'maskClass|1-7':true
                    },
                ],
            }
        ]
    }));
})

app.get('/recipearry',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|10':[
            {
                id:'@uuid',
                'arry|+1':[
                    '/upload/recipe/5bf670a6N6f42fcb1.png',
                    '/upload/recipe/5bf670a6N0d7ccb85.png',
                    '/upload/recipe/5bf670a5N104dc11b.png',
                    '/upload/recipe/5bf670a6Nbe48a0fc.png',
                    '/upload/recipe/5bf670a6N20a363d5.png',
                    '/upload/recipe/5bf670a6Nd302ac85.png',
                    '/upload/recipe/5bf670a5N5faaa6d8.png',
                    '/upload/recipe/5bf670a5N73627e89.png',
                    '/upload/recipe/5bf670a5N33dfdfef.png',
                    '/upload/recipe/5bf670a6Nc76cc172.png',
                ],
                'text|+1':[
                    '家常菜',
                    '肉类食谱',
                    '水产海鲜',
                    '蔬菜食谱',
                    '母婴食谱',
                    '蛋奶制品',
                    '烘焙',
                    '食疗养生',
                    '减肥餐',
                    '米面杂粮',
                ]
            }
        ]
    }));
})

app.get('/hotrecipe',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|2':[
            {
                id:'@uuid',
                'top|2':[
                    {
                        id:'@uuid',
                        'pic|+1':[
                            '/upload/recipe/600_ef1b8a39fa93c683e9328ae0d82bf289.jpg',
                            '/upload/recipe/600_9a9d77658ef91ccc8c9b4ce6fbc99368.jpg',
                            '/upload/recipe/600_ab83917352a12205d7829a73153a9150.jpg',
                            '/upload/recipe/600_3e47a38b819d9d1a97aee4cea0ce4a88.png',
                        ],
                        'text|+1':[
                            '鱼香肉丝',
                            '可乐鸡翅[简单到没下过厨也会做]',
                            '糖醋里脊',
                            '少油的鱼香茄子'
                        ],
                        'userInfo|+1':[
                            '/upload/recipe/70_u99657481.jpg',
                            '/upload/recipe/70_u49617908834149171436.jpg',
                            '/upload/recipe/70_u4835098059765001271243.jpg',
                            '/upload/recipe/70_panpanye193958.jpg',
                        ],
                        'userName|+1':[
                            '月亮晶晶',
                            'stta小铭',
                            '迷迭香',
                            '潘潘猫',
                        ]
                    }
                ],
                'left|5':[
                    {
                        id:'@uuid',
                        'pic|+1':[
                            '/upload/recipe/200_ee66cf591c0c4e39fee0c7db07f156b4.jpg',
                            '/upload/recipe/200_7391ee2804de2d1f61a530abf8dcb90c.jpg',
                            '/upload/recipe/200_ea21d1ae0c158143456385d956f7c63d.jpg',
                            '/upload/recipe/200_880dc7a183ae632ce22e8857230c4cbc.jpg',
                            '/upload/recipe/200_7d67be8a1735c66e062a07ee02fb1624.jpg',
                            '/upload/recipe/200_88abe3bcf16331749877132629ad3970.jpg',
                            '/upload/recipe/200_24562c2fd633b5253210f72c5fef1a4c.jpg',
                            '/upload/recipe/200_711bb70129b248d4796a82c43570deaa.jpg',
                            '/upload/recipe/200_1ab492b65643989ce70c6bdf275ebb1f.jpg',
                            '/upload/recipe/600_16d8d09b3d47cada309a689849358175.jpg',
                        ],
                        'text|+1':[
                            '红烧排骨',
                            '地三鲜',
                            '葱油拌面——走遍大半个上海，只为这一口',
                            '大盘鸡|美食台',
                            '川味家常菜~麻婆豆腐',
                            '可乐鸡翅',
                            '飘香酸菜鱼',
                            '招牌红烧肉',
                            '黄金玉米烙',
                            '红烧茄子',
                        ],
                        'userInfo|+1':[
                            '/upload/recipe/70_panpanye193958.jpg',
                            '/upload/recipe/70_u55549519956285132048.jpeg',
                            '/upload/recipe/70_u4835098059765001271243.jpg',
                            '/upload/recipe/70_u5448497412272002031651.jpg',
                            '/upload/recipe/70_u0308256740962910142220.jpg',
                            '/upload/recipe/70_u02369349224948172948.jpeg',
                            '/upload/recipe/70_u7863623398730107261403.jpg',
                            '/upload/recipe/70_u4797562146304310292021.jpg',
                            '/upload/recipe/70_u99657481.jpg',
                            '/upload/recipe/70_u02369349224948172948.jpeg',
                        ],
                        'userName|+1':[
                            '潘潘猫',
                            '喝可乐的牛仔',
                            '迷迭香',
                            '美食台',
                            '杜鹃花美食',
                            '乐悠厨房',
                            '香颜',
                            '纯色酒心糖',
                            '月亮晶晶',
                            '乐悠厨房',
                        ],
                        'readCount|900-1500':0
                    }
                ],
            }
        ]
    }));
})

app.get('/recarry',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|2':[
            {
                id:'@uuid',
                'bottom|2':[
                    {
                        id:'@uuid',
                        'title|+1':[
                            '比老坛酸菜牛肉面还酸爽的“牛肉沙拉”!',
                            '一头牛到底能出多少牛肉干？'
                        ],
                        'txtContent|+1':[
                            '牛排两面用盐进行腌制，然后加入一些橄榄油，油不要太多只要两面都覆盖就可以了（没有橄榄油的话也可以用葵花籽油代替），然后用手把油在牛肉上涂抹均匀~',
                            '【主料】牛肉 800g、【辅料】粗盐、大葱 半根、生姜、干辣椒 3根、香叶 2片'
                        ],
                        'pic|+1':[
                            '/upload/recommend/beef.jpg',
                            '/upload/recommend/b5f54ac263efc79a.jpg'
                        ],
                        'userInfo|+1':[
                            '/upload/recommend/ma.jpg',
                            '/upload/recommend/ma.jpg',
                        ],
                        'userName|+1':[
                            '马壮实',
                            '马壮实',
                        ],
                        'show|1':true
                    }
                ],
                'left|5':[
                    {
                        id:'@uuid',
                        'pic|+1':[
                            '/upload/recommend/eb77fc11d5164e04.jpg',
                            '/upload/recommend/1b4325dfa8d82f0a.jpg',
                            '/upload/recommend/4054f41a1482d364.jpg',
                            '/upload/recommend/5de13615842d43c3.jpg',
                            '/upload/recommend/1c425c9fe4f2fde9.jpg',
                        ],
                        'title|+1':[
                            '麦当劳这次的圣诞甜品开挂啦！不仅好看还好呲！!',
                            '饭、肉、菜一锅端的懒人鸡腿焖饭，冬日必学！',
                            '你多久没尝过大自然的天然味道了？',
                            '想做菜好吃，我有10个私藏的酱料秘方',
                            '学会这道蔓越莓鸡蛋卷，再挑食的孩子也要抢着吃！'
                        ],
                        'txtContent|+1':[
                            '圣诞节的正确打开方式除了拍美美的照当然还要吃甜品啦千千帮大家试吃了绝对会踩雷的圣诞甜品快来看看吧~',
                            '工作了一整天，下班回到家没力气折腾出一桌饭菜？',
                            '今日美食——油焖笋前几天同事带来了几个冬笋，简单做成油焖笋，那味道绝了！鲜甜脆嫩，是这个季节独有的美味！',
                            '前几天收到一个小伙伴的留言，说跟着我的菜谱做了蟹黄豆腐，但最后出来的味道和颜色都不对，为什么？其实，一道菜好不好吃，既关乎选材，也考验对火候的把握，再到最后酱汁的调味，每个环节都会影响出品的水准。',
                            '一日之计在于晨，营养美味的早餐能够给人带来一天的好元气。'
                        ],
                        'userInfo|+1':[
                            '/upload/recommend/f4c13ddbc3d34bc2.jpg',
                            '/upload/recommend/b75acd8999d3226e.jpg',
                            '/upload/recommend/e5d565e59f7cfc5a.jpg',
                            '/upload/recommend/4ae08a7739e192f0.jpg',
                            '/upload/recommend/b75acd8999d3226e.jpg',
                        ],
                        'userName|+1':[
                            '罐头视频',
                            '美食工坊',
                            '饭饭',
                            '菜菜美食日记',
                            '美食工坊'
                        ],
                        'readCount|900-1500':0,
                        'show|1-4':true
                    }
                ],
            }
        ]
    }));
})

app.get('/footimg',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        data:[
            {
                id:'@uuid',
                url:'/upload/home/9ee011f7ed7a30d4.png'
            }
        ]
    }));
})

app.get('/storewrap',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        data:[
            {
                id:'@uuid',
                arr1:[
                    '/upload/details/f1c5cc6467a1f134.png'
                ],
                storeTitle:'沃尔玛-秦淮店',
                time:'达达专送·60分钟',
                sendMoney:'基础运费4元',
            }
        ]
    }));
})

app.get('/imgItem',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|2':[
            {
                id:'@uuid',
                'arr|+1':[
                    '/upload/details/aa2d649360f7c707.jpg',
                    '/upload/details/493c0641c67b7d54.jpg',
                ],
            }
        ]
    }));
})

app.get('/leftnav',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|8':[
            {
                id:'@uuid',
                'title|+1':[
                    '为你优选','单品优惠','满额促销',
                    '【年货一条街】','车厘子','吃火锅',
                    '新鲜水果','时令蔬菜'
                ],
                children:[
                    {
                        id:'@uuid',
                        'title|+1':[
                            {   
                                txt:[
                                    {
                                        id:'txt1',
                                        nums:'',
                                        tabTxt:'',
                                        arr:[
                                            [{
                                                id:'anmuxi',
                                                img:'/upload/details/431c7a2e6cea588c.jpg',
                                                title:'伊利 安慕希希腊风味酸奶 原味 205g*12',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'jindian',
                                                img:'/upload/details/3b5ea38473a56387.jpg',
                                                title:'伊利 金典纯牛奶 250ml*12 (新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:154.3,
                                            }],
                                            [{
                                                id:'wufeng',
                                                img:'/upload/details/924e3f257c4ca6c0.jpg',
                                                title:'五丰 盘锦清香米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:193.2,
                                            }],
                                            [{
                                                id:'yilimilk',
                                                img:'/upload/details/b07350e0ba990bd7.jpg',
                                                title:'伊利 优质乳蛋白 纯牛奶 250ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:164.4,
                                            }],
                                            [{
                                                id:'filinmen',
                                                img:'/upload/details/4259bdeb9389f53d.jpg',
                                                title:'福临门 精选东北大米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:156.1,
                                            }],
                                        ],
                                    }
                                ],
                            },
                            {   
                                txt:[
                                    {
                                        id:'txt2',
                                        'nums|10-20':0,
                                        tabTxt:'秒杀',
                                        arr:[
                                            [{
                                                id:'chelizi',
                                                img:'/upload/details/f0713c3952b48d04.jpg',
                                                title:'【大】智利进口车厘子  XL级  约500g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'caomeiaerbeisi',
                                                img:'/upload/details/5bf3eb01N84b41c07.jpg',
                                                title:'阿尔卑斯 至纯草莓牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.4
                                            }],
                                            [{
                                                id:'mengxiangqing',
                                                img:'/upload/details/f18e7f04de52d76f.jpg',
                                                title:'蒙乡情 火锅羊肉片 450g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:34.7,
                                            }],
                                            [{
                                                id:'haitianshengchou',
                                                img:'/upload/details/2a4d0cbc30657a48.jpg',
                                                title:'海天 金标生抽酿造酱油 1.28*2',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:86.4
                                            }],
                                            [{
                                                id:'wangzhongwang',
                                                img:'/upload/details/5af11cd9N4a9575fe.jpg',
                                                title:'王中王特级火腿肠 600g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:21.7
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt3',
                                        'nums|10-20':0,
                                        tabTxt:'直降',
                                        arr:[
                                            [{
                                                id:'yonghe',
                                                img:'/upload/details/98305d64da81830a.jpg',
                                                title:'永和豆浆 甜豆浆粉速溶豆粉 720g(24包)',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:199.4
                                            }],
                                            [{
                                                id:'huiyi',
                                                img:'/upload/details/9a1d390c167d4af9.jpg',
                                                title:'惠宜 优级绵白糖 1kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:11.3,
                                            }],
                                            [{
                                                id:'weida',
                                                img:'/upload/details/6c4e050a2d5ca1ad.jpg',
                                                title:'维达 超韧家庭装抽取式纸面巾 10包',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:14.9
                                            }],
                                            [{
                                                id:'haitianhaoyou',
                                                img:'/upload/details/7f8e3cede7cbb182.jpg',
                                                title:'海天 上等蚝油组合装 520g*2瓶（新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:14.8,
                                            }],
                                            [{
                                                id:'jintangfeiniu',
                                                img:'/upload/details/5ae8656cNe0edfc42.jpg',
                                                title:'康师傅 金汤肥牛面 540g（108g*5）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:66.4,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt4',
                                        'nums|10-20':0,
                                        tabTxt:'买赠',
                                        arr:[
                                            [{
                                                id:'xiangmanyuan',
                                                img:'/upload/details/08a0e9eebe35aafa.jpg',
                                                title:'香满园 特选长粒香米 5kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:14.2,
                                            }],
                                            [{
                                                id:'jinlongyu',
                                                img:'/upload/details/5b87ae92Nb2509b16.jpg',
                                                title:'金龙鱼 多用途麦芯粉 1kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:96.4,
                                            }],
                                            [{
                                                id:'zhiren',
                                                img:'/upload/details/cede9b3b44e810b7.jpg',
                                                title:'智仁 金典麦香燕麦片 480g(内装15小袋)',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.8,
                                            }],
                                            [{
                                                id:'siyun',
                                                img:'/upload/details/5b8cf1bcN60f8a4ff.jpg',
                                                title:'丝蕴 无硅水润洗发露 500ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:56.5,
                                            }],
                                            [{
                                                id:'jieshi',
                                                img:'/upload/details/0cec830344903176.jpg',
                                                title:'捷氏 坚果黑芝麻糊 400g（40g*10）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:24.5,
                                            }],
                                        ],
                                    }
                                ],
                            },
                            {   
                                txt:[
                                    {
                                        id:'txt5',
                                        'nums|10-20':0,
                                        tabTxt:'好时满减专区',
                                        arr:[
                                            [{
                                                id:'quqinaixiang',
                                                img:'/upload/details/5bbc801bN8238192a.jpg',
                                                title:'好时 曲奇奶香白巧克力 210g（内含14支）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:7.6,
                                            }],
                                            [{
                                                id:'malaqiya',
                                                img:'/upload/details/d115d13fce43bbbb.jpg',
                                                title:'好时 马来西亚进口 牛奶巧克力 146g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:29.9,
                                            }],
                                            [{
                                                id:'qiaokeli',
                                                img:'/upload/details/acab95a1df39fd8a.jpg',
                                                title:'好时 马来西亚进口 超值特惠装巧克力 246g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:88.8,
                                            }],
                                            [{
                                                id:'qiaoleyuan',
                                                img:'/upload/details/5bbc801aN80292824.jpg',
                                                title:'好时 巧乐园混搭零食包 104g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:32.9,
                                            }],
                                            [{
                                                id:'haoshi4',
                                                img:'/upload/details/a2dbd8da8c722f3b.jpg',
                                                title:'好时 巧乐园混搭零食包 104g（26g*4包）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.8,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt666',
                                        'nums|10-20':0,
                                        tabTxt:'阿尔卑斯满减专区',
                                        arr:[
                                            [{
                                                id:'zhichunjiaotang',
                                                img:'/upload/details/4e973b5d7408f50f.jpg',
                                                title:'阿尔卑斯 至纯焦香牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:3.7,
                                            }],
                                            [{
                                                id:'zhichuncaomeiwei',
                                                img:'/upload/details/5bf3eb01N84b41c07.jpg',
                                                title:'阿尔卑斯 至纯草莓牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:47.3,
                                            }],
                                            [{
                                                id:'jiaoxiangyuanwei',
                                                img:'/upload/details/4941ac90e331a8c6.jpg',
                                                title:'阿尔卑斯 焦香源味牛奶硬糖 150g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:32.9,
                                            }],
                                            [{
                                                id:'mantuosi',
                                                img:'/upload/details/020fddaabbe9df4f.jpg',
                                                title:'曼妥思 透爽口气柠檬味无糖薄荷糖 35g（50粒）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:12.3,
                                            }],
                                            [{
                                                id:'shuangzianghuihe',
                                                img:'/upload/details/798905290588b0e0.jpg',
                                                title:'阿尔卑斯 双享混合口味硬糖棒棒糖9支装 144g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:5.4,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt6',
                                        'nums|10-20':0,
                                        tabTxt:'好丽友满减专区',
                                        arr:[
                                            [{
                                                id:'yatudou',
                                                img:'/upload/details/5b84efeaN4e0871f1.jpg',
                                                title:'呀土豆 土豆之道油炸型膨化食品 番茄酱味 130g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:39.9,
                                            }],
                                            [{
                                                id:'shuyuan',
                                                img:'/upload/details/0d0f505c88018912.jpg',
                                                title:'好丽友 薯愿三连包（多种口味，随机发货） 104g*3',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:28.4,
                                            }],
                                            [{
                                                id:'haoliyoumocha',
                                                img:'/upload/details/90af84e7f15442fe.jpg',
                                                title:'好丽友 派 涂饰蛋类芯饼 清新抹茶本味 432g（36g*12）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.9,
                                            }],
                                            [{
                                                id:'haoliyouqiaokeli',
                                                img:'/upload/details/5af0f887N209fb73f.jpg',
                                                title:'好丽友 巧克力味涂饰蛋类芯饼 408g 34g*12包',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:17.4,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt7',
                                        'nums|10-20':0,
                                        tabTxt:'统一汤达人满减专区',
                                        arr:[
                                            [{
                                                id:'anmuxi1',
                                                img:'/upload/details/431c7a2e6cea588c.jpg',
                                                title:'伊利 安慕希希腊风味酸奶 原味 205g*12',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'jindian1',
                                                img:'/upload/details/3b5ea38473a56387.jpg',
                                                title:'伊利 金典纯牛奶 250ml*12 (新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:154.3,
                                            }],
                                            [{
                                                id:'wufeng1',
                                                img:'/upload/details/924e3f257c4ca6c0.jpg',
                                                title:'五丰 盘锦清香米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:193.2,
                                            }],
                                            [{
                                                id:'yilimilk1',
                                                img:'/upload/details/b07350e0ba990bd7.jpg',
                                                title:'伊利 优质乳蛋白 纯牛奶 250ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:164.4,
                                            }],
                                            [{
                                                id:'filinmen1',
                                                img:'/upload/details/4259bdeb9389f53d.jpg',
                                                title:'福临门 精选东北大米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:156.1,
                                            }],
                                        ],
                                    },
                                ],
                            },
                            {   
                                txt:[
                                    {
                                        id:'txt8',
                                        'nums|10-20':0,
                                        tabTxt:'享美味',
                                        arr:[
                                            [{
                                                id:'anmuxi2',
                                                img:'/upload/details/431c7a2e6cea588c.jpg',
                                                title:'伊利 安慕希希腊风味酸奶 原味 205g*12',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'jindian2',
                                                img:'/upload/details/3b5ea38473a56387.jpg',
                                                title:'伊利 金典纯牛奶 250ml*12 (新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:154.3,
                                            }],
                                            [{
                                                id:'wufeng2',
                                                img:'/upload/details/924e3f257c4ca6c0.jpg',
                                                title:'五丰 盘锦清香米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:193.2,
                                            }],
                                            [{
                                                id:'yilimilk2',
                                                img:'/upload/details/b07350e0ba990bd7.jpg',
                                                title:'伊利 优质乳蛋白 纯牛奶 250ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:164.4,
                                            }],
                                            [{
                                                id:'filinmen2',
                                                img:'/upload/details/4259bdeb9389f53d.jpg',
                                                title:'福临门 精选东北大米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:156.1,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt9',
                                        'nums|10-20':0,
                                        tabTxt:'办年货',
                                        arr:[
                                            [{
                                                id:'chelizi1',
                                                img:'/upload/details/f0713c3952b48d04.jpg',
                                                title:'【大】智利进口车厘子  XL级  约500g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'caomeiaerbeisi1',
                                                img:'/upload/details/5bf3eb01N84b41c07.jpg',
                                                title:'阿尔卑斯 至纯草莓牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.4
                                            }],
                                            [{
                                                id:'mengxiangqing1',
                                                img:'/upload/details/f18e7f04de52d76f.jpg',
                                                title:'蒙乡情 火锅羊肉片 450g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:34.7,
                                            }],
                                            [{
                                                id:'haitianshengchou1',
                                                img:'/upload/details/2a4d0cbc30657a48.jpg',
                                                title:'海天 金标生抽酿造酱油 1.28*2',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:86.4
                                            }],
                                            [{
                                                id:'wangzhongwang1',
                                                img:'/upload/details/5af11cd9N4a9575fe.jpg',
                                                title:'王中王特级火腿肠 600g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:21.7
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt10',
                                        'nums|10-20':0,
                                        tabTxt:'送好礼',
                                        arr:[
                                            [{
                                                id:'xiangmanyuan1',
                                                img:'/upload/details/08a0e9eebe35aafa.jpg',
                                                title:'香满园 特选长粒香米 5kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:14.2,
                                            }],
                                            [{
                                                id:'jinlongyu1',
                                                img:'/upload/details/5b87ae92Nb2509b16.jpg',
                                                title:'金龙鱼 多用途麦芯粉 1kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:96.4,
                                            }],
                                            [{
                                                id:'zhiren1',
                                                img:'/upload/details/cede9b3b44e810b7.jpg',
                                                title:'智仁 金典麦香燕麦片 480g(内装15小袋)',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.8,
                                            }],
                                            [{
                                                id:'siyun1',
                                                img:'/upload/details/5b8cf1bcN60f8a4ff.jpg',
                                                title:'丝蕴 无硅水润洗发露 500ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:56.5,
                                            }],
                                            [{
                                                id:'jieshi1',
                                                img:'/upload/details/0cec830344903176.jpg',
                                                title:'捷氏 坚果黑芝麻糊 400g（40g*10）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:24.5,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt11',
                                        'nums|10-20':0,
                                        tabTxt:'贴春联',
                                        arr:[
                                            [{
                                                id:'yatudou1',
                                                img:'/upload/details/5b84efeaN4e0871f1.jpg',
                                                title:'呀土豆 土豆之道油炸型膨化食品 番茄酱味 130g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:39.9,
                                            }],
                                            [{
                                                id:'shuyuan1',
                                                img:'/upload/details/0d0f505c88018912.jpg',
                                                title:'好丽友 薯愿三连包（多种口味，随机发货） 104g*3',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:28.4,
                                            }],
                                            [{
                                                id:'haoliyoumocha1',
                                                img:'/upload/details/90af84e7f15442fe.jpg',
                                                title:'好丽友 派 涂饰蛋类芯饼 清新抹茶本味 432g（36g*12）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.9,
                                            }],
                                            [{
                                                id:'haoliyouqiaokeli1',
                                                img:'/upload/details/5af0f887N209fb73f.jpg',
                                                title:'好丽友 巧克力味涂饰蛋类芯饼 408g 34g*12包',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:17.4,
                                            }],
                                        ],
                                    },
                                ],
                            },
                            {   
                                txt:[
                                    {
                                        id:'txt12',
                                        nums:'',
                                        tabTxt:'',
                                        arr:[
                                            [{
                                                id:'quqinaixiang1',
                                                img:'/upload/details/5bbc801bN8238192a.jpg',
                                                title:'好时 曲奇奶香白巧克力 210g（内含14支）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:7.6,
                                            }],
                                            [{
                                                id:'malaqiya1',
                                                img:'/upload/details/d115d13fce43bbbb.jpg',
                                                title:'好时 马来西亚进口 牛奶巧克力 146g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:29.9,
                                            }],
                                            [{
                                                id:'qiaokeli1',
                                                img:'/upload/details/acab95a1df39fd8a.jpg',
                                                title:'好时 马来西亚进口 超值特惠装巧克力 246g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:88.8,
                                            }],
                                            [{
                                                id:'qiaoleyuan1',
                                                img:'/upload/details/5bbc801aN80292824.jpg',
                                                title:'好时 巧乐园混搭零食包 104g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:32.9,
                                            }],
                                            [{
                                                id:'haoshi41',
                                                img:'/upload/details/a2dbd8da8c722f3b.jpg',
                                                title:'好时 巧乐园混搭零食包 104g（26g*4包）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.8,
                                            }],
                                        ],
                                    }
                                ],
                            },
                            {   
                                txt:[
                                    {
                                        id:'txt13',
                                        'nums|10-20':0,
                                        tabTxt:'来点辣的',
                                        arr:[
                                            [{
                                                id:'anmuxi3',
                                                img:'/upload/details/431c7a2e6cea588c.jpg',
                                                title:'伊利 安慕希希腊风味酸奶 原味 205g*12',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'jindian3',
                                                img:'/upload/details/3b5ea38473a56387.jpg',
                                                title:'伊利 金典纯牛奶 250ml*12 (新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:154.3,
                                            }],
                                            [{
                                                id:'wufeng3',
                                                img:'/upload/details/924e3f257c4ca6c0.jpg',
                                                title:'五丰 盘锦清香米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:193.2,
                                            }],
                                            [{
                                                id:'yilimilk3',
                                                img:'/upload/details/b07350e0ba990bd7.jpg',
                                                title:'伊利 优质乳蛋白 纯牛奶 250ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:164.4,
                                            }],
                                            [{
                                                id:'filinmen3',
                                                img:'/upload/details/4259bdeb9389f53d.jpg',
                                                title:'福临门 精选东北大米 5kg(新旧包装，随机发货）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:156.1,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt14',
                                        'nums|10-20':0,
                                        tabTxt:'吃点荤的',
                                        arr:[
                                            [{
                                                id:'quqinaixiang2',
                                                img:'/upload/details/5bbc801bN8238192a.jpg',
                                                title:'好时 曲奇奶香白巧克力 210g（内含14支）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:7.6,
                                            }],
                                            [{
                                                id:'malaqiya2',
                                                img:'/upload/details/d115d13fce43bbbb.jpg',
                                                title:'好时 马来西亚进口 牛奶巧克力 146g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:29.9,
                                            }],
                                            [{
                                                id:'qiaokeli2',
                                                img:'/upload/details/acab95a1df39fd8a.jpg',
                                                title:'好时 马来西亚进口 超值特惠装巧克力 246g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:88.8,
                                            }],
                                            [{
                                                id:'qiaoleyuan2',
                                                img:'/upload/details/5bbc801aN80292824.jpg',
                                                title:'好时 巧乐园混搭零食包 104g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:32.9,
                                            }],
                                            [{
                                                id:'haoshi42',
                                                img:'/upload/details/a2dbd8da8c722f3b.jpg',
                                                title:'好时 巧乐园混搭零食包 104g（26g*4包）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.8,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt1555',
                                        'nums|10-20':0,
                                        tabTxt:'配点素的',
                                        arr:[
                                            [{
                                                id:'yatudou2',
                                                img:'/upload/details/5b84efeaN4e0871f1.jpg',
                                                title:'呀土豆 土豆之道油炸型膨化食品 番茄酱味 130g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:39.9,
                                            }],
                                            [{
                                                id:'shuyuan2',
                                                img:'/upload/details/0d0f505c88018912.jpg',
                                                title:'好丽友 薯愿三连包（多种口味，随机发货） 104g*3',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:28.4,
                                            }],
                                            [{
                                                id:'haoliyoumocha2',
                                                img:'/upload/details/90af84e7f15442fe.jpg',
                                                title:'好丽友 派 涂饰蛋类芯饼 清新抹茶本味 432g（36g*12）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.9,
                                            }],
                                            [{
                                                id:'haoliyouqiaokeli2',
                                                img:'/upload/details/5af0f887N209fb73f.jpg',
                                                title:'好丽友 巧克力味涂饰蛋类芯饼 408g 34g*12包',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:17.4,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt15',
                                        'nums|10-20':0,
                                        tabTxt:'弄点蘸的',
                                        arr:[
                                            [{
                                                id:'chelizi2',
                                                img:'/upload/details/f0713c3952b48d04.jpg',
                                                title:'【大】智利进口车厘子  XL级  约500g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'caomeiaerbeisi2',
                                                img:'/upload/details/5bf3eb01N84b41c07.jpg',
                                                title:'阿尔卑斯 至纯草莓牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.4
                                            }],
                                            [{
                                                id:'mengxiangqing2',
                                                img:'/upload/details/f18e7f04de52d76f.jpg',
                                                title:'蒙乡情 火锅羊肉片 450g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:34.7,
                                            }],
                                            [{
                                                id:'haitianshengchou2',
                                                img:'/upload/details/2a4d0cbc30657a48.jpg',
                                                title:'海天 金标生抽酿造酱油 1.28*2',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:86.4
                                            }],
                                            [{
                                                id:'wangzhongwang2',
                                                img:'/upload/details/5af11cd9N4a9575fe.jpg',
                                                title:'王中王特级火腿肠 600g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:21.7
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt17',
                                        'nums|10-20':0,
                                        tabTxt:'喝点好的',
                                        arr:[
                                            [{
                                                id:'xiangmanyuan2',
                                                img:'/upload/details/08a0e9eebe35aafa.jpg',
                                                title:'香满园 特选长粒香米 5kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:14.2,
                                            }],
                                            [{
                                                id:'jinlongyu2',
                                                img:'/upload/details/5b87ae92Nb2509b16.jpg',
                                                title:'金龙鱼 多用途麦芯粉 1kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:96.4,
                                            }],
                                            [{
                                                id:'zhiren2',
                                                img:'/upload/details/cede9b3b44e810b7.jpg',
                                                title:'智仁 金典麦香燕麦片 480g(内装15小袋)',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.8,
                                            }],
                                            [{
                                                id:'siyun2',
                                                img:'/upload/details/5b8cf1bcN60f8a4ff.jpg',
                                                title:'丝蕴 无硅水润洗发露 500ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:56.5,
                                            }],
                                            [{
                                                id:'jieshi2',
                                                img:'/upload/details/0cec830344903176.jpg',
                                                title:'捷氏 坚果黑芝麻糊 400g（40g*10）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:24.5,
                                            }],
                                        ],
                                    },
                                ],
                            },
                            {   
                                txt:[
                                    {
                                        id:'txt18',
                                        'nums|10-20':0,
                                        tabTxt:'国产水果',
                                        arr:[
                                            [{
                                                id:'zhichunjiaotang1',
                                                img:'/upload/details/4e973b5d7408f50f.jpg',
                                                title:'阿尔卑斯 至纯焦香牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:3.7,
                                            }],
                                            [{
                                                id:'zhichuncaomeiwei1',
                                                img:'/upload/details/5bf3eb01N84b41c07.jpg',
                                                title:'阿尔卑斯 至纯草莓牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:47.3,
                                            }],
                                            [{
                                                id:'jiaoxiangyuanwei1',
                                                img:'/upload/details/4941ac90e331a8c6.jpg',
                                                title:'阿尔卑斯 焦香源味牛奶硬糖 150g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:32.9,
                                            }],
                                            [{
                                                id:'mantuosi1',
                                                img:'/upload/details/020fddaabbe9df4f.jpg',
                                                title:'曼妥思 透爽口气柠檬味无糖薄荷糖 35g（50粒）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:12.3,
                                            }],
                                            [{
                                                id:'shuangzianghuihe1',
                                                img:'/upload/details/798905290588b0e0.jpg',
                                                title:'阿尔卑斯 双享混合口味硬糖棒棒糖9支装 144g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:5.4,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt19',
                                        'nums|10-20':0,
                                        tabTxt:'进口水果',
                                        arr:[
                                            [{
                                                id:'xiangmanyuan3',
                                                img:'/upload/details/08a0e9eebe35aafa.jpg',
                                                title:'香满园 特选长粒香米 5kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:14.2,
                                            }],
                                            [{
                                                id:'jinlongyu3',
                                                img:'/upload/details/5b87ae92Nb2509b16.jpg',
                                                title:'金龙鱼 多用途麦芯粉 1kg',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:96.4,
                                            }],
                                            [{
                                                id:'zhiren3',
                                                img:'/upload/details/cede9b3b44e810b7.jpg',
                                                title:'智仁 金典麦香燕麦片 480g(内装15小袋)',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.8,
                                            }],
                                            [{
                                                id:'siyun3',
                                                img:'/upload/details/5b8cf1bcN60f8a4ff.jpg',
                                                title:'丝蕴 无硅水润洗发露 500ml',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:56.5,
                                            }],
                                            [{
                                                id:'jieshi3',
                                                img:'/upload/details/0cec830344903176.jpg',
                                                title:'捷氏 坚果黑芝麻糊 400g（40g*10）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:24.5,
                                            }],
                                        ],
                                    },
                                ],
                            },
                            {   
                                txt:[
                                    {
                                        id:'txt20',
                                        'nums|10-20':0,
                                        tabTxt:'叶菜类',
                                        arr:[
                                            [{
                                                id:'yatudou3',
                                                img:'/upload/details/5b84efeaN4e0871f1.jpg',
                                                title:'呀土豆 土豆之道油炸型膨化食品 番茄酱味 130g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:39.9,
                                            }],
                                            [{
                                                id:'shuyuan3',
                                                img:'/upload/details/0d0f505c88018912.jpg',
                                                title:'好丽友 薯愿三连包（多种口味，随机发货） 104g*3',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:28.4,
                                            }],
                                            [{
                                                id:'haoliyoumocha3',
                                                img:'/upload/details/90af84e7f15442fe.jpg',
                                                title:'好丽友 派 涂饰蛋类芯饼 清新抹茶本味 432g（36g*12）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.9,
                                            }],
                                            [{
                                                id:'haoliyouqiaokeli3',
                                                img:'/upload/details/5af0f887N209fb73f.jpg',
                                                title:'好丽友 巧克力味涂饰蛋类芯饼 408g 34g*12包',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:17.4,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt21',
                                        'nums|10-20':0,
                                        tabTxt:'根茎类',
                                        arr:[
                                            [{
                                                id:'chelizi3',
                                                img:'/upload/details/f0713c3952b48d04.jpg',
                                                title:'【大】智利进口车厘子  XL级  约500g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:124.5,
                                            }],
                                            [{
                                                id:'caomeiaerbeisi3',
                                                img:'/upload/details/5bf3eb01N84b41c07.jpg',
                                                title:'阿尔卑斯 至纯草莓牛奶味硬糖 45g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:18.4
                                            }],
                                            [{
                                                id:'mengxiangqing3',
                                                img:'/upload/details/f18e7f04de52d76f.jpg',
                                                title:'蒙乡情 火锅羊肉片 450g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:34.7,
                                            }],
                                            [{
                                                id:'haitianshengchou3',
                                                img:'/upload/details/2a4d0cbc30657a48.jpg',
                                                title:'海天 金标生抽酿造酱油 1.28*2',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:86.4
                                            }],
                                            [{
                                                id:'wangzhongwang3',
                                                img:'/upload/details/5af11cd9N4a9575fe.jpg',
                                                title:'王中王特级火腿肠 600g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:21.7
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt22',
                                        'nums|10-20':0,
                                        tabTxt:'瓜果类',
                                        arr:[
                                            [{
                                                id:'quqinaixiang3',
                                                img:'/upload/details/5bbc801bN8238192a.jpg',
                                                title:'好时 曲奇奶香白巧克力 210g（内含14支）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:7.6,
                                            }],
                                            [{
                                                id:'malaqiya3',
                                                img:'/upload/details/d115d13fce43bbbb.jpg',
                                                title:'好时 马来西亚进口 牛奶巧克力 146g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:29.9,
                                            }],
                                            [{
                                                id:'qiaokeli3',
                                                img:'/upload/details/acab95a1df39fd8a.jpg',
                                                title:'好时 马来西亚进口 超值特惠装巧克力 246g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:88.8,
                                            }],
                                            [{
                                                id:'qiaoleyuan3',
                                                img:'/upload/details/5bbc801aN80292824.jpg',
                                                title:'好时 巧乐园混搭零食包 104g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:32.9,
                                            }],
                                            [{
                                                id:'haoshi43',
                                                img:'/upload/details/a2dbd8da8c722f3b.jpg',
                                                title:'好时 巧乐园混搭零食包 104g（26g*4包）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.8,
                                            }],
                                        ],
                                    },
                                    {
                                        id:'txt23',
                                        'nums|10-20':0,
                                        tabTxt:'菌菇类',
                                        arr:[
                                            [{
                                                id:'yatudou4',
                                                img:'/upload/details/5b84efeaN4e0871f1.jpg',
                                                title:'呀土豆 土豆之道油炸型膨化食品 番茄酱味 130g',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:39.9,
                                            }],
                                            [{
                                                id:'shuyuan4',
                                                img:'/upload/details/0d0f505c88018912.jpg',
                                                title:'好丽友 薯愿三连包（多种口味，随机发货） 104g*3',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:28.4,
                                            }],
                                            [{
                                                id:'haoliyoumocha4',
                                                img:'/upload/details/90af84e7f15442fe.jpg',
                                                title:'好丽友 派 涂饰蛋类芯饼 清新抹茶本味 432g（36g*12）',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:19.9,
                                            }],
                                            [{
                                                id:'haoliyouqiaokeli4',
                                                img:'/upload/details/5af0f887N209fb73f.jpg',
                                                title:'好丽友 巧克力味涂饰蛋类芯饼 408g 34g*12包',
                                                speed:'快至2小时送达！7公里免费送货！',
                                                'sales|300-400':0,
                                                'good|90-100':0,
                                                price:17.4,
                                            }],
                                        ],
                                    },
                                ],
                            },
                        ]
                    }
                ]
            }
        ]
    }));
})


app.get('/goods',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        data:[
            {
                anmuxi:[
                    {
                        id:'@uuid',
                        title:'伊利 安慕希希腊风味酸奶 原味 205g*12',
                        price:124.5,
                        storeName:'沃尔玛-秦淮店',
                        'perNum|1-200':0,
                        'good|95-100':0,
                        'arr|8':[
                            {
                                'imgs|+1':[
                                    '/upload/goods/8d7f79bc364139b5.jpg',
                                    '/upload/goods/431c7a2e6cea588c.jpg',
                                    '/upload/goods/6b4a3c593ba0486c.jpg',
                                    '/upload/goods/bb93ac6c2e20a808.jpg',
                                    '/upload/goods/bf95b7ceeb92bd4a.jpg',
                                    '/upload/goods/a595b671eff7d63f.jpg',
                                    '/upload/goods/8d7f79bc364139b5.jpg',
                                    '/upload/goods/431c7a2e6cea588c.jpg',
                                ]
                            }
                        ],
                        'detArr|9':[
                            {
                                'imgs|+1':[
                                    '/upload/goods/0cafd60688c7e9b1.jpg',
                                    '/upload/goods/ede156995e855293.jpg',
                                    '/upload/goods/ddbc0e6a1099cd7d.jpg',
                                    '/upload/goods/ade6eb7e61975111.jpg',
                                    '/upload/goods/7acef1d9b276598b.jpg',
                                    '/upload/goods/0680a576df6d92c3.jpg',
                                    '/upload/goods/77407f2df2434809.jpg',
                                    '/upload/goods/19d861efaa91840b.jpg',
                                    '/upload/goods/348cf8340ffbe93e.jpg',
                                ]
                            }
                        ],
                    }
                ],
                chelizi:[
                    {
                        id:'@uuid',
                        title:'【大】智利进口车厘子  XL级  约500g',
                        price:124.5,
                        storeName:'沃尔玛-秦淮店',
                        'perNum|1-200':0,
                        'good|95-100':0,
                        'arr|8':[
                            {
                                'imgs|+1':[
                                    '/upload/goods/810f884c1c61b1d3.jpg',
                                    '/upload/goods/f0713c3952b48d04.jpg',
                                    '/upload/goods/aa49dbeb6fb44f6e.jpg',
                                    '/upload/goods/5f7f39ffa05196ad.jpg',
                                    '/upload/goods/7707a736ed4fd4fe.jpg',
                                    '/upload/goods/b745f510fe2a7908.jpg',
                                    '/upload/goods/810f884c1c61b1d3.jpg',
                                    '/upload/goods/f0713c3952b48d04.jpg',
                                ]
                            }
                        ],
                        'detArr|4':[
                            {
                                'imgs|+1':[
                                    '/upload/goods/cd229ceb618183af.jpg',
                                    '/upload/goods/3173c094b8e895fd.jpg',
                                    '/upload/goods/b7433fda062cb91a.jpg',
                                    '/upload/goods/303356d5e1f8d5fe.jpg',
                                ]
                            }
                        ],
                    }
                ],
            }
        ]
    }));
})

app.get('/my',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        'data|11':[
            {
                id:'@uuid',
                'title|+1':[
                    '我的关注',
                    '我的评价',
                    '我的地址',
                    'VIP会员',
                    '签到有惊喜',
                    '退款/售后',
                    '客服反馈',
                    '帮助中心',
                    '配送员注册',
                    '关于我们',
                    '掌生有礼',
                ],
                'arr|+1':[
                    '/upload/my/59f861f1Naec07388.png',
                    '/upload/my/59f861f4Nb4f14ccb.png',
                    '/upload/my/59f86219Na63aa49b.png',
                    '/upload/my/5aa11240Ne9946bfd.png',
                    '/upload/my/5a4b618cN592138dc.png',
                    '/upload/my/59f86201Nbb2b1e3a.png',
                    '/upload/my/59f8622cNa78b328b.png',
                    '/upload/my/59f8623aN0de96396.png',
                    '/upload/my/5b225111Nce6fb324.png',
                    '/upload/my/59f86273N0c5a763c.png',
                    '/upload/my/5c05f767N9ba4149a.png',
                ],
            }
        ]
    }));
})

app.get('/phone',(req,res)=>{
    res.send(Mock.mock({
        error:null,
        data:[
            {
                title:'*',
                id:'@uuid',
                'arr|5':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '中国',
                            '新加坡',
                            '马来西亚',
                            '澳大利亚',
                            '加拿大',
                        ],
                        'num|+1':[
                            '+86',
                            '+65',
                            '+60',
                            '+61',
                            '+1',
                        ]
                    }
                ]
            },
            {
                title:'A',
                id:'@uuid',
                'arr|7':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '阿尔巴尼亚',
                            '阿富汗',
                            '阿根廷',
                            '爱尔兰',
                            '埃及',
                            '爱沙尼亚',
                            '阿联酋',
                        ],
                        'num|+1':[
                            '+355',
                            '+93',
                            '+54',
                            '+353',
                            '+20',
                            '+372',
                            '+971',
                        ]
                    }
                ]
            },
            {
                title:'B',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '巴巴多斯',
                            '白俄罗斯',
                            '百慕大三角',
                            '巴基斯坦',
                        ],
                        'num|+1':[
                            '+1268',
                            '+375',
                            '+1441',
                            '+92',
                        ]
                    }
                ]
            },
            {
                title:'C',
                id:'@uuid',
                arr:[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '赤道几内亚',
                        ],
                        'num|+1':[
                            '+240',
                        ]
                    }
                ]
            },
            {
                title:'D',
                id:'@uuid',
                'arr|5':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '丹麦',
                            '德国',
                            '东帝汶',
                            '多哥',
                            '多米尼加共和国',
                        ],
                        'num|+1':[
                            '+45',
                            '+49',
                            '+670',
                            '+228',
                            '+1767',
                        ]
                    }
                ]
            },
            {
                title:'E',
                id:'@uuid',
                'arr|2':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '厄立特里亚',
                            '俄罗斯',
                        ],
                        'num|+1':[
                            '+291',
                            '+7',
                        ]
                    }
                ]
            },
            {
                title:'F',
                id:'@uuid',
                'arr|7':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '法国',
                            '法罗群岛',
                            '法属圭亚那',
                            '斐济群岛',
                            '菲律宾',
                            '芬兰',
                            '佛得角',
                        ],
                        'num|+1':[
                            '+33',
                            '+298',
                            '+594',
                            '+679',
                            '+63',
                            '+358',
                            '+238',
                        ]
                    }
                ]
            },
            {
                title:'G',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '冈比亚',
                            '格陵兰',
                            '格林纳达',
                            '格鲁吉亚',
                        ],
                        'num|+1':[
                            '+220',
                            '+299',
                            '+1473',
                            '+995',
                        ]
                    }
                ]
            },
            {
                title:'H',
                id:'@uuid',
                'arr|5':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '韩国',
                            '海地',
                            '哈萨克斯坦',
                            '黑山',
                            '荷兰',
                        ],
                        'num|+1':[
                            '+82',
                            '+509',
                            '+7',
                            '+382',
                            '+31',
                        ]
                    }
                ]
            },
            {
                title:'J',
                id:'@uuid',
                'arr|2':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '加拿大',
                            '柬埔寨',
                        ],
                        'num|+1':[
                            '+1',
                            '+855',
                        ]
                    }
                ]
            },
            {
                title:'K',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '开曼群岛',
                            '喀麦隆',
                            '卡塔尔',
                            '克罗地亚',
                        ],
                        'num|+1':[
                            '+1345',
                            '+237',
                            '+974',
                            '+385',
                        ]
                    }
                ]
            },
            {
                title:'L',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '莱索托',
                            '老挝',
                            '拉脱维亚',
                            '黎巴嫩',
                        ],
                        'num|+1':[
                            '+266',
                            '+856',
                            '+371',
                            '+961',
                        ]
                    }
                ]
            },
            {
                title:'M',
                id:'@uuid',
                'arr|5':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '中国',
                            '新加坡',
                            '马来西亚',
                            '澳大利亚',
                            '加拿大',
                        ],
                        'num|+1':[
                            '+86',
                            '+65',
                            '+60',
                            '+61',
                            '+1',
                        ]
                    }
                ]
            },
            {
                title:'N',
                id:'@uuid',
                'arr|7':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '阿尔巴尼亚',
                            '阿富汗',
                            '阿根廷',
                            '爱尔兰',
                            '埃及',
                            '爱沙尼亚',
                            '阿联酋',
                        ],
                        'num|+1':[
                            '+355',
                            '+93',
                            '+54',
                            '+353',
                            '+20',
                            '+372',
                            '+971',
                        ]
                    }
                ]
            },
            {
                title:'O',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '巴巴多斯',
                            '白俄罗斯',
                            '百慕大三角',
                            '巴基斯坦',
                        ],
                        'num|+1':[
                            '+1268',
                            '+375',
                            '+1441',
                            '+92',
                        ]
                    }
                ]
            },
            {
                title:'P',
                id:'@uuid',
                arr:[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '赤道几内亚',
                        ],
                        'num|+1':[
                            '+240',
                        ]
                    }
                ]
            },
            {
                title:'Q',
                id:'@uuid',
                'arr|5':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '丹麦',
                            '德国',
                            '东帝汶',
                            '多哥',
                            '多米尼加共和国',
                        ],
                        'num|+1':[
                            '+45',
                            '+49',
                            '+670',
                            '+228',
                            '+1767',
                        ]
                    }
                ]
            },
            {
                title:'R',
                id:'@uuid',
                'arr|2':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '厄立特里亚',
                            '俄罗斯',
                        ],
                        'num|+1':[
                            '+291',
                            '+7',
                        ]
                    }
                ]
            },
            {
                title:'S',
                id:'@uuid',
                'arr|7':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '法国',
                            '法罗群岛',
                            '法属圭亚那',
                            '斐济群岛',
                            '菲律宾',
                            '芬兰',
                            '佛得角',
                        ],
                        'num|+1':[
                            '+33',
                            '+298',
                            '+594',
                            '+679',
                            '+63',
                            '+358',
                            '+238',
                        ]
                    }
                ]
            },
            {
                title:'T',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '冈比亚',
                            '格陵兰',
                            '格林纳达',
                            '格鲁吉亚',
                        ],
                        'num|+1':[
                            '+220',
                            '+299',
                            '+1473',
                            '+995',
                        ]
                    }
                ]
            },
            {
                title:'U',
                id:'@uuid',
                'arr|5':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '韩国',
                            '海地',
                            '哈萨克斯坦',
                            '黑山',
                            '荷兰',
                        ],
                        'num|+1':[
                            '+82',
                            '+509',
                            '+7',
                            '+382',
                            '+31',
                        ]
                    }
                ]
            },
            {
                title:'V',
                id:'@uuid',
                'arr|2':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '加拿大',
                            '柬埔寨',
                        ],
                        'num|+1':[
                            '+1',
                            '+855',
                        ]
                    }
                ]
            },
            {
                title:'W',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '开曼群岛',
                            '喀麦隆',
                            '卡塔尔',
                            '克罗地亚',
                        ],
                        'num|+1':[
                            '+1345',
                            '+237',
                            '+974',
                            '+385',
                        ]
                    }
                ]
            },
            {
                title:'X',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '莱索托',
                            '老挝',
                            '拉脱维亚',
                            '黎巴嫩',
                        ],
                        'num|+1':[
                            '+266',
                            '+856',
                            '+371',
                            '+961',
                        ]
                    }
                ]
            },
            {
                title:'Y',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '莱索托',
                            '老挝',
                            '拉脱维亚',
                            '黎巴嫩',
                        ],
                        'num|+1':[
                            '+266',
                            '+856',
                            '+371',
                            '+961',
                        ]
                    }
                ]
            },
            {
                title:'Z',
                id:'@uuid',
                'arr|4':[
                    {
                        id:'@uuid',
                        'country|+1':[
                            '莱索托',
                            '老挝',
                            '拉脱维亚',
                            '黎巴嫩',
                        ],
                        'num|+1':[
                            '+266',
                            '+856',
                            '+371',
                            '+961',
                        ]
                    }
                ]
            }
        ]
    }));
})

//POST 登录
app.post('/users',function(req,res){
    var sql='select `id`,`phone`,`password` from `users`';
    conn().query(sql,function(err,ret){
        if(err!=null){
            res.status(404);//默认200
            res.send({
                status:404,
                data:null,//必须写，没有null
                message:'数据查询失败'
            });
        }else{
            res.status(200);//默认200
            res.send({
                status:200,
                data:ret,
                error:null
            });
        }
    })
})

// POST（CREATE） 添加
app.post('/addusers',function(req,res){
    var phone=req.body.phone;
    var password=req.body.password;
    var sql='insert into `users` (`phone`,`password`) values ("'+phone+'","'+password+'")';
    conn().query(sql,function(err,ret){
        if(err!=null){
            res.status(404);//默认200
            res.send({
                status:404,
                data:null,
                error:'数据添加失败'
            });
        }else{
            res.status(200);//默认200
            res.send({
                status:200,
                data:ret,
                error:null
            });
        }
    })
})

app.listen(8080);